home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 501-525 / disk_515 / setccopts / installlibrary < prev    next >
Text File  |  1992-05-06  |  666b  |  25 lines

  1. .K ""
  2. echo "This script will install the req.library in LIBS:,"
  3. echo "after checking to see if it already exist and giving"
  4. echo "you the option to overwrite the installed one if so."
  5. echo ""
  6.  
  7. if not EXISTS LIBS:req.library
  8.     echo "No existing library, installing LIBS:req.library..."
  9.     copy req.library LIBS:req.library
  10. else
  11.     echo "Examine the version numbers of each library."
  12.     echo ""
  13.     version LIBS:req.library
  14.     version /SetCCOPTS/req.library
  15.     echo ""
  16.     ask "Do you wish to overwrite LIBS:req.library?"
  17.     if WARN
  18.         echo "Updating LIBS:req.library..."
  19.         copy req.library LIBS:req.library
  20.     endif
  21. endif
  22.  
  23. echo "All Done.  Click close gadget to get rid of window."
  24. endcli
  25.